﻿<style>
    .ng-invalid-pattern {
        border: 1px solid #f00;
    }
</style>

<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">订单管理</h1>
</div>
<div class="wrapper-md" ng-controller="orderCtrl">
    <div class="panel panel-default">
        <div class="panel panel-default">
            <div class="panel-heading font-bold">查询</div>
            <div class="panel-body">
                <div class="panel-body">
                    <div class="row form-group">
                        <label class="control-label pull-left m-t-xs">状态</label>
                        <div class="col-md-2 form-group">
                            <select class="form-control" ng-model="searchingState" ng-options="x.value as x.text for x in checkState">
                                <option value="">全部</option>
                            </select>
                        </div>

                        <label class="control-label pull-left m-t-xs">起始地</label>
                        <div class="col-md-3 form-group">
                            <ng-area city-list="cityList" area-list="areaList" province="province" city="city" area="area"></ng-area>
                        </div>
                    </div>

                    <div class="row form-group">
                        <label class="control-label pull-left m-t-xs">车长</label>
                        <div class="col-md-2 form-group">
                            <select class="form-control" ng-model="searchingCarLength" ng-options="x.value as x.text for x in checkCarLength">
                                <option value="">全部</option>
                            </select>
                        </div>

                        <label class="control-label pull-left m-t-xs">目的地</label>
                        <div class="col-md-3 form-group">
                            <ng-area city-list="cityDestinationList" area-list="areaDestinationList" province="provinceDestination" city="cityDestination" area="areaDestination"></ng-area>
                        </div>
                        <div class="col-md-2">
                            <button ng-click="queryOrders()" class="btn btn-default btn-addon"><i class="fa fa-search"></i>查询</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="table-responsive">
            <div ui-grid="userList" ui-grid-pagination style="min-height:420px"></div>
        </div>
    </div>

    
</div>